# -*- coding: utf-8 -*-
# 索引用来对单个元素进行访问，切片则对一定范围内的元素进行访问
numbers = [1,2,3,4,5,6,7,8,9,10]
print (numbers[3:8]) # [4, 5, 6, 7, 8]
